package com.hxt.util;

/**
 * 公共常量
 */
public final class CONSTANT {

	/**
	 * 协同平台的minio
	 */
	public static final class MINIO {
		public final static String URL = "http://127.0.0.1:9000";
		public final static String ACCESS_KEY = "NKJGVBCYJWQ9H0SVY7D1";
		public final static String SECRET_KEY = "mU2l7eDXTbtVU57QfdnN5XKwe5fZ2vdVBMmTngqd";
		public final static String BUCKET_NAME = "zbak";

//		public final static String URL = "http://120.131.9.147:8002";
//		public final static String ACCESS_KEY = "08UX1N6CE2PZ9YILL8BJ";
//		public final static String SECRET_KEY = "ltvQpnMF7sfv7i6KbKB+JkFcGnPNFs9rs+qtTRv8";
//		public final static String BUCKET_NAME = "zbak";

	}

	/**
	 * 公共类
	 */
	public static final class COMMON {
//		public final static String UPLOAD_FILE_PATH = System.getProperty("user.dir") + "/upload/";
		public final static String UPLOAD_FILE_PATH = Thread.currentThread().getContextClassLoader().getResource("")
				.getPath() + "/upload/";
		/** list 分割大小，默认300 */
		public final static int LIST_SPLIT_CNT = 30000000;

	}

}
